﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using RipPoll.Library;


namespace RipPoll.Services.Contracts
{
    [ServiceContract]
    public interface IUserServices
    {
        [OperationContract]
        UserPE GetUserById(int id);

        [OperationContract]
        UserPE GetUserByEmailId(string emailId);

        [OperationContract]
        void AddUser(UserPE inUserPE);

        [OperationContract]
        UserPE GetUserByScreenName(string emailId);

        [OperationContract]
        void CheckUserForEmailIdAndScreenName(string emailId, string screenName, out bool EmailExists, out bool ScreenExists);

        [OperationContract]
        List<EducationNamesPE> GetEducationNames();

    }
}
